﻿using Sai.Core.Introspection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sai.Core.Rules
{
    public interface IReferenceTypeRule : ITypeRule
    {
        /// <summary>
        /// Validate type declarations.
        /// </summary>
        /// <param name="was"></param>
        /// <param name="isNow"></param>
        /// <param name="typeDifference"></param>
        void Validate(ReferenceTypeDeclaration was, ReferenceTypeDeclaration isNow, ITypeDifference typeDifference);
    }
}
